package com.wr.hangzhounewlight.obj.dto.frontend;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author yuanzhizhuo
 * createDate 2025/11/14
 */
@Data
public class RecipeListDTO {

    private String workshop;
    private String machine;
    private String screw;
    private String orderNo;
    private String recipeName;
    private Integer recipeIsCheck;
    private Integer isClose;
    private List<LocalDateTime> date;

    public LocalDateTime getStartDateTime() {
        return date.get(0);
    }

    public LocalDateTime getEndDateTime() {
        return date.get(1);
    }

}
